package org.lanqiao.tjut.control;

import org.lanqiao.tjut.bean.UserInfoBean;
import org.lanqiao.tjut.service.IUserInfoService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;

@Controller("userInfoControl")
public class UserInfoControl {
	// 组合一个service层对象（采用面向接口的编程）
	@Autowired
	IUserInfoService userInfoService;

	public boolean doUserLogin(UserInfoBean userB) {
		// 调用dao层进行业务逻辑处理
		return userInfoService.doUserLogin(userB);
	}
}
